<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN" xml:lang="zh-CN">
<head>
<meta name="robots" content="Nofollow" />
<meta name="googlebot" content="Nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>群聚网后台管理</title>
<script src="../js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="../js/cms.load.js" type="text/javascript"></script>
<link href="../css/skin.css" rel="stylesheet" type="text/css" />
<link href="../css/jquery.gritter.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/jquery.gritter.js"></script>
<script type="text/javascript" src="../js/jquery.messager.js"></script>
<style type="text/css">
	#table211 td{
		font-size: 12px;
	}
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #1D3647;
	}
	input[type=button]{
		width:149px;
	}
	input[type=text] {
		width: 225px;
		border: 1px solid #00A0EF;
	}
	input[type=password]{
		width: 225px;
		border: 1px solid #00A0EF;
	}
	.editbox4{
		width: 220px;
		text-align: left;
	}
	#code{
		width: 118px;
		border: 1px solid #00A0EF;
	}
	.loginId{f
		ont-size: 12px;
		margin-left: 6px;
	}
</style>
<script language="JavaScript">
function loginStat(){
	var username = $("#userName").val();
	var password = $("#password").val();
	$.post("/statLogin.do", { name: username, pwd: password },
			function(text){
				if(text==1){
						window.location.href="/admin/index.html";
					}
				else{
						alert(text);
					}
			}
		);
}
function correctPNG(){
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
    if ((version >= 5.5) && (document.body.filters)) 
    {
       for(var j=0; j<document.images.length; j++)
       {
          var img = document.images[j]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
          {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML
             j = j-1
          }
       }
    }    
}
//window.attachEvent("onload", correctPNG);function mes(){$("#loginId").css("display","none");}
</script>
<link href="../css/skin.css" rel="stylesheet" type="text/css"></link>
<script type="text/javascript" language="javascript">
function alertMsg(msg){
	$.gritter.add({
		title	: '提示信息',
		text	: msg,
		image	: '<%=basePath %>admins/images/success.png',
		sticky	: false, 
		time	: '3000'
	});
}
</script>
</head>

<body>
<table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top">
    <table width="100%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg">
      <tr>
        <td width="49%" align="right"><table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2">
            <tr>
              <td height="138" valign="top">
              <table width="89%" border="0" cellpadding="0" cellspacing="0" style="margin-right: 30px;">
                <tr>
                  <td height="149">&nbsp;</td>
                </tr>
                <tr>
                  <td height="80" align="right" valign="top"><img src="../images/logo.png" width="279" height="68" /></td>
                </tr>
                <tr>
                  <td height="198" align="right" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="35%">&nbsp;</td>
                      <td colspan="2" style="font-size: 12px;text-align: left;color: #BAC2D1;text-indent: 28px;line-height: 18px;">
                      	
                      </td>
                   </tr>
                    
                  </table></td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" valign="bottom">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%"></td>
            </tr>
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%"><div class="login_txt_bt">登陆后台管理</div></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21">
              <table  border="0" id="table211" >
                  <tr>
                    <td height="164" colspan="2">
                    <form action="blogin.action" method="post">
                        <table  width="90%" border="0"  id="table212">
                          <tr>
                            <td width="13%" height="26" class="top_hui_text"><span class="login_txt">用户名:</span></td>
                            <td align="left" colspan="2">
                            	<input type="text" name="userName" id="userName" maxlength="20" />
                            </td>
                          </tr>
                          <tr>
                            <td width="13%" height="26" class="top_hui_text"><span class="login_txt">密&nbsp;&nbsp;码:</span></td>
                            <td align="left" colspan="2">
                            	<input type="password" name="password" id="password" maxlength="20" />
                            	<img src="../images/luck.gif" width="19" height="18" title="密码"/> 
                            </td>
                          </tr>
                          <tr>
                          	<td></td>
                            <td align="left" colspan="2">
                             <input type="button" class="btn11" onmouseover="this.style.backgroundPosition='left -40px'" 
                             		onmouseout="this.style.backgroundPosition='left top'" value="登陆" onfocus="this.blur();" onclick="loginStat()" /> 
                            </td>
                          </tr>
                          <tr><td>&nbsp;</td><td colspan="2"></td></tr>
                        </table>
                    </form>
                    </td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom"><img src="../images/login-wel.gif" width="242" height="138" /></td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login-buttom-txt">Copyright &copy; 2010-2011 http://www.bohuikeji.com</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>